how to evaluate an arithmetic series